package rest

import (
	"github.com/gin-gonic/gin"
	"store/bootstrap"
	v12 "store/rest/v1"
)

func Start(router *gin.Engine) {
	v1 := router.Group("/rest/v1")

	v1.Use(V1Auth)
	{
		controllerList := []interface{}{
			new(v12.Product),
		}

		bootstrap.AutoRegisterRoute(v1, controllerList)
	}
}

func V1Auth(ctx *gin.Context) {
}
